<%--
  Created by IntelliJ IDEA.
  User: chenwb
  Date: 2019/12/17
  Time: 14:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>JavaBean Test</title>

</head>
<body>
<jsp:useBean id="email" class="cn.com.test.common.bean.Email"></jsp:useBean>
<jsp:setProperty name="email" property="name" value="陈伟标"></jsp:setProperty>
<jsp:setProperty name="email" property="address" value="web_chen@163.com"></jsp:setProperty>

<div style="height: 100px">
    <table align="left" width="600px">
        <tr>
            <td>
                name
            </td>
            <td>
                <jsp:getProperty name="email" property="name"/>
                + <span>${name}</span>
            </td>
        </tr>
        <tr>
            <td>
                address
            </td>
            <td>
                <jsp:getProperty name="email" property="address"/>
            </td>
        </tr>
    </table>
</div>
<div>
    <form action="action">
        <button type="submit">返回</button>
    </form>
</div>

</body>
</html>
